package com.situ.web.dao;

import java.util.List;
import java.util.Map;

import com.situ.web.entity.Banji;
import com.situ.web.entity.Course;


public interface IBanjiDao {
	public List<Banji> selectAll();
	public List<Banji> selectByName(String name);
	public List<Banji> search(String name);
	public Integer insert(Banji banji);
	public Integer update(Banji banji);
	public Integer deleteById(Integer id);
	public Integer getTotalCount();
	public List<Banji> pageList(Integer offset, Integer pageSize);
	public Banji selectById(int id);
	public List<Map<String, Object>> selectBanjiCourseInfo();
	public List<Course> selectCourse();
	public int chooseCourse(int classId, int courseId);
}
